<%--
  Created by IntelliJ IDEA.
  User: AdrianJ
  Date: 2024/6/11
  Time: 16:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<style>
  .appearing-container h1{
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 4px;
    text-align: center;
  }
  .refresh-btn{
    position: fixed;
    right: 16px;
    top: 12px;
    font-size: 15px;
    text-decoration: underline;
    cursor: pointer;
  }
  .scroll-container{
    position: absolute;
    bottom: 20px;
    left: 16px;
    right: 16px;
    top: 60px;
    overflow-y: scroll;
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
  }
  .scroll-container .procuct-container{
    width: calc(100%/2 - 8px);
    margin-bottom: 12px;
    height: 460px;
    border-radius: 16px;
    box-shadow: 2px 2px 6px #00000033;
    overflow: hidden;
    margin-right: 4px;
    position: relative;
    min-width: 600px;
  }
  /*背景*/
  .scroll-container .procuct-container .block-back{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }
  .scroll-container .procuct-container .block-back div{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #fafafaaa;
    backdrop-filter: blur(4px);
  }
  .scroll-container .procuct-container .block-back img{
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    object-fit: cover;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  /*图片*/
  .scroll-container .procuct-container .block-img{
    position: absolute;
    left: 12px;
    top: 12px;
    height: 270px;
    width: 360px;
    background-color: #fafafa;
    border-radius: 4px;
    border: #eee solid 2px;
    box-shadow: inset 0 0 8px #00000033;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .scroll-container .procuct-container .block-img img{
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    object-fit: contain;
  }
  /*基础信息*/
  .scroll-container .procuct-container .block-basic{
    position: absolute;
    left: 386px;
    right: 12px;
    top: 12px;
    height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  .scroll-container .procuct-container .block-basic h2{
    font-weight: bold;
    color: #5471c0;
    font-size: 42px;
    display: flex;
    align-items: start;
    position: relative;
      margin: 0;
  }
  .scroll-container .procuct-container .block-basic h2::after{
    content: "元";
    font-size: 22px;
    transform: translate(4px,14px);
  }
  .scroll-container .procuct-container .block-basic h3{
    font-size: 30px;
    text-overflow: clip;
    max-width: 100%;
    white-space: nowrap;
    font-weight: bold;
    color: #383838;
      margin: 0;
  }
  .scroll-container .procuct-container .block-basic h4{
    font-size: 16px;
    white-space: pre-line;
    max-width: 100%;
      margin: 0;
  }
  .scroll-container .procuct-container .block-basic button{
    padding: 8px 24px;
    outline: none;
    border: none;
    box-shadow: 2px 2px 4px #00000033;
    background: linear-gradient(to right bottom, #9bafe5, #bba1e3);
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: .4s;
      width: 100%;
  }
  .scroll-container .procuct-container .block-basic button:hover{
    transform: rotateX(16deg);
    box-shadow: 4px 4px 12px #799be588;
    transition: .4s;
  }

  /*介绍信息*/
  .scroll-container .procuct-container .block-intro{
    position: absolute;
    top: 296px;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 8px;
    white-space: pre-line;
    overflow:scroll;
  }
  /*更多*/
  .more-btn{
    margin-left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
  }
</style>
